package com.example.myapplication.util;

import io.reactivex.subscribers.ResourceSubscriber;

public abstract class ResultSubscriber<T> extends ResourceSubscriber<T> {


    @Override
    public void onError(Throwable t) {
        ToastUtil.showToastLong(t.toString());
    }

    @Override
    public void onComplete() {

    }
}
